package com.reform.pojo.phase;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SimplifyBatch implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "阶段检查编号")
    private String phaseId;

    @ApiModelProperty(value = "名称")
    @TableField("phase_name")
    private String phaseName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间(yyyy-MM-dd)")
    private LocalDate phaseTimeStart;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间(yyyy-MM-dd)")
    private LocalDate phaseTimeEnd;

    @ApiModelProperty(value = "项目数量")
    private Integer count;

    @ApiModelProperty(value = "编号列表")
    private List<String> proIdLIst;
}
